/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
 * assign3
 * Copyright (C)  Michael 2008 <mikey.morckos@gmail.com>
 * 
 * assign3 is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * assign3 is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef _ASSIGN3_H_
#define _ASSIGN3_H_

#include "engine.cc"

#include <gtkmm.h>
#include <gtkmm/button.h>
#include <gtkmm/main.h>

using namespace Gtk;
using namespace std;

class Img_Editor : public Window {
	
    public:
	    Img_Editor();
        virtual ~Img_Editor();
		
		void init();
		void load_Image();
		void save_Image();
		void display_Image();
		
		void apply_Canny();
		void apply_CCLA();

    private:
	    /* GTK */
		VBox main_vbox_1, main_vbox_2; 
	    VBox frame1_vbox_1_1, frame1_vbox_1_2;
	    VBox frame2_vbox;	
	  
		HBox main_hbox;
	    HBox frame1_hbox, hbox, hbox2;
	    HBox frame2_hbox_2_1, frame2_hbox_2_2;
		
	    Frame frame1, frame2;
		
        Button load_button, save_button;
	    Button button_1_1, button_1_2;
		
		Entry entry1, entry2;
		
	    Label label1, label2;
		
		/* ENGINE */
		Engine engine;
		const char* file_name;
};

#endif // _ASSIGN3_H_

